package mest.dao.hws;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import mest.entity.warehouse_file;

import java.util.List;

@Mapper
public interface WarehouseFileDao {
    int deleteByPrimaryKey(@Param("theirDb") String theirDb,@Param("id")Integer id);

    int insert(@Param("theirDb") String theirDb,@Param("record") warehouse_file record);

    int insertSelective(@Param("theirDb") String theirDb,@Param("record")warehouse_file record);

    warehouse_file selectByPrimaryKey(@Param("theirDb") String theirDb,@Param("id")Integer id);

    List<warehouse_file> selectPrimary(@Param("theirDb") String theirDb,@Param("limit") Integer limit, @Param("page") Integer page, @Param("wfname") String wfname);

    int selectcount(@Param("theirDb") String theirDb,@Param("wfname") String wfname);

    int updateByPrimaryKeySelective(@Param("theirDb") String theirDb,@Param("record")warehouse_file record);

    int updateByPrimaryKey(@Param("theirDb") String theirDb,@Param("record")warehouse_file record);
}